const getters = {
    // 画布
    terminal: state => state.container.terminal,
    activeComponent: state => state.container.activeComponent,
    componentsData: state => state.container.componentsData,

    deployUploadApi: state => state.api.deployUploadApi,
    databaseUploadApi: state => state.api.databaseUploadApi,
    size: state => state.app.size,
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    roles: state => state.user.roles,
    user: state => state.user.user,
    loadMenus: state => state.user.loadMenus,
    permission_routers: state => state.permission.routers,
    addRouters: state => state.permission.addRouters,
    socketApi: state => state.api.socketApi,
    imagesUploadApi: state => state.api.imagesUploadApi,
    baseApi: state => state.api.baseApi,
    fileUploadApi: state => state.api.fileUploadApi,
    uploadApi: state => state.api.uploadApi,
    updateAvatarApi: state => state.api.updateAvatarApi,
    qiNiuUploadApi: state => state.api.qiNiuUploadApi,
    sqlApi: state => state.api.sqlApi,
    swaggerApi: state => state.api.swaggerApi
}
export default getters
